package com.feinno.urcs.group.api;

import com.feinno.urcs.group.interop.entity.FXCatalogIndex;
import com.feinno.urcs.types.MobileNo;
import org.helium.framework.annotations.ServiceInterface;

/**
 * 用来获取一些类似Userid,Sid 之类的东西
 *
 * @author Li.Hongbo <lihongbo@feinno.com>
 */
@ServiceInterface(id = "group:FXUserIndexService")
public interface FXUserIndexService {
	public int getFxUserId(MobileNo mobileNo) throws Exception;

	public int getLogicPool(MobileNo mobileNo) throws Exception;

	public int getLogicPoolByUserId(int userId) throws Exception;

	public int getFxSid(MobileNo mobileNo) throws Exception;

	public FXCatalogIndex getFXCatalogIndex(MobileNo mobileNo) throws Exception;

	public FXCatalogIndex createAndGetFXCatalogIndex(MobileNo mobileNo) throws Exception;
}
